﻿<%@ Page Language="C#" MasterPageFile="~/MasterPageUser.master" AutoEventWireup="true" CodeFile="Doi_mat_khau.aspx.cs" Inherits="Doi_mat_khau" Title="Đổi mật khẩu" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style5
        {
            width: 618px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style5" 
        style="border: 1px solid #C0C0C0; width: 100%; " 
        >
        <tr>
            <td align="center" colspan="2" 
                
                style="background-color: #FF9933; font-family: arial, Helvetica, sans-serif; color: #FFFFFF; height: 23px; width: 620px;">
                <b style="font-size: 13pt">Đổi mật khẩu&nbsp;</b></td>
        </tr>
        <tr>
            <td align="center" colspan="2" >
                <asp:Label ID="Label3" runat="server" Text="Chào, "></asp:Label>
                <asp:Label ID="lbluser" runat="server" Font-Bold="True" ForeColor="#990000"></asp:Label>
&nbsp;bạn nhập vài thông tin sau:</td>
        </tr>
        <tr>
            <td align="right">
                Nhập mật khẩu củ&nbsp; </td>
            <td>
                <asp:TextBox ID="txtmatkhaucu" runat="server" TextMode="Password" 
                    ontextchanged="txtmatkhaucu_TextChanged"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtmatkhaucu" ErrorMessage="Mật khẩu không được bỏ trống">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                Nhập mật khẩu mới</td>
            <td>
                <asp:TextBox ID="txtmatkhaumoi" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtmatkhaumoi" ErrorMessage="Không được bỏ trống">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                Xác nhận mật khẩu mới</td>
            <td>
                <asp:TextBox ID="txtxacnhanmatkhau" runat="server" TextMode="Password"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtmatkhaumoi" ControlToValidate="txtxacnhanmatkhau" 
                    ErrorMessage="Không trùng">*</asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;</td>
            <td>
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                    Text="Đổi mật khẩu" />
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;</td>
            <td>
                <asp:Label ID="lblinfo" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;</td>
            <td>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>

